home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / UTILITY / DO1002.ARJ / GOTO.SCR < prev    next >
Text File  |  1991-10-18  |  1KB  |  28 lines

  1. .pg wi full clr cy
  2.     COMMAND NAME»gray«: »%t« GotoLabel »ye«
  3.  
  4.     /GOTO {Label} [[{Default}] ASIS]
  5. /cw
  6.     When a »%t«GotoLabel»#« command is encountered, »%t«DO»#« searches for
  7.     »cy«{Label}»#« or »cy«{Default}»#«. When either »cy«{Label}»#« or the optional
  8.     »cy«{Default}»#« is found, execution of the script resumes at that
  9.     point.
  10.  
  11.     When the »ye«bottom of the script»#« is found before the label is
  12.     found, »%t«DO»#« wraps to the top of the script. If either »cy«{Label}»#«
  13.     or »cy«{Default}»#« is not found before the original line is
  14.     encountered, an error message is displayed.
  15. .pg
  16.  
  17.     »wh«{Label}»#«             The label to which to branch. Variables
  18.                         are expanded.
  19.     »wh«{Default}»#«           An optional Default label to which to
  20.                         branch. If this label is reached before
  21.                         »cy«{Label}»#« then program execution continues
  22.                         at that point.
  23.     »wh«ASIS»#«                Indicates that the labels are evaluated
  24.                         exactly as typed in upper and lower
  25.                         case. The default is to compare labels
  26.                         in upper case.
  27. /ENDEXEC
  28.